STATE(NIL)
STATE(DATA)
STATE(RCDATA)
STATE(RAWTEXT)
STATE(SCRIPT_DATA)
STATE(PLAINTEXT)
STATE(TAG_OPEN)
STATE(END_TAG_OPEN)
STATE(TAG_NAME)
STATE(RCDATA_LESS_THAN_SIGN)
STATE(RCDATA_END_TAG_OPEN)
STATE(RCDATA_END_TAG_NAME)
STATE(RAWTEXT_LESS_THAN_SIGN)
STATE(RAWTEXT_END_TAG_OPEN)
STATE(RAWTEXT_END_TAG_NAME)
STATE(SCRIPT_DATA_LESS_THAN_SIGN)
STATE(SCRIPT_DATA_END_TAG_OPEN)
STATE(SCRIPT_DATA_END_TAG_NAME)
STATE(SCRIPT_DATA_ESCAPE_START)
STATE(SCRIPT_DATA_ESCAPE_START_DASH)
STATE(SCRIPT_DATA_ESCAPED)
STATE(SCRIPT_DATA_ESCAPED_DASH)
STATE(SCRIPT_DATA_ESCAPED_DASH_DASH)
STATE(SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN)
STATE(SCRIPT_DATA_ESCAPED_END_TAG_OPEN)
STATE(SCRIPT_DATA_ESCAPED_END_TAG_NAME)
STATE(SCRIPT_DATA_DOUBLE_ESCAPE_START)
STATE(SCRIPT_DATA_DOUBLE_ESCAPED)
STATE(SCRIPT_DATA_DOUBLE_ESCAPED_DASH)
STATE(SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH)
STATE(SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN)
STATE(SCRIPT_DATA_DOUBLE_ESCAPE_END)
STATE(BEFORE_ATTRIBUTE_NAME)
STATE(ATTRIBUTE_NAME)
STATE(AFTER_ATTRIBUTE_NAME)
STATE(BEFORE_ATTRIBUTE_VALUE)
STATE(ATTRIBUTE_VALUE_DOUBLE_QUOTED)
STATE(ATTRIBUTE_VALUE_SINGLE_QUOTED)
STATE(ATTRIBUTE_VALUE_UNQUOTED)
STATE(AFTER_ATTRIBUTE_VALUE_QUOTED)
STATE(SELF_CLOSING_START_TAG)
STATE(BOGUS_COMMENT)
STATE(MARKUP_DECLARATION_OPEN)
STATE(COMMENT_START)
STATE(COMMENT_START_DASH)
STATE(COMMENT)
STATE(COMMENT_LESS_THAN_SIGN)
STATE(COMMENT_LESS_THAN_SIGN_BANG)
STATE(COMMENT_LESS_THAN_SIGN_BANG_DASH)
STATE(COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH)
STATE(COMMENT_END_DASH)
STATE(COMMENT_END)
STATE(COMMENT_END_BANG)
STATE(DOCTYPE)
STATE(BEFORE_DOCTYPE_NAME)
STATE(DOCTYPE_NAME)
STATE(AFTER_DOCTYPE_NAME)
STATE(AFTER_DOCTYPE_PUBLIC_KEYWORD)
STATE(BEFORE_DOCTYPE_PUBLIC_IDENTIFIER)
STATE(DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED)
STATE(DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED)
STATE(AFTER_DOCTYPE_PUBLIC_IDENTIFIER)
STATE(BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS)
STATE(AFTER_DOCTYPE_SYSTEM_KEYWORD)
STATE(BEFORE_DOCTYPE_SYSTEM_IDENTIFIER)
STATE(DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED)
STATE(DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED)
STATE(AFTER_DOCTYPE_SYSTEM_IDENTIFIER)
STATE(BOGUS_DOCTYPE)
STATE(CDATA_SECTION)
STATE(CDATA_SECTION_BRACKET)
STATE(CDATA_SECTION_END)
STATE(CHARACTER_REFERENCE)
STATE(NAMED_CHARACTER_REFERENCE)
STATE(AMBIGUOUS_AMPERSAND)
STATE(NUMERIC_CHARACTER_REFERENCE)
STATE(HEXADECIMAL_CHARACTER_REFERENCE_START)
STATE(DECIMAL_CHARACTER_REFERENCE_START)
STATE(HEXADECIMAL_CHARACTER_REFERENCE)
STATE(DECIMAL_CHARACTER_REFERENCE)
STATE(NUMERIC_CHARACTER_REFERENCE_END)
